﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcApplication1.Controllers
{
    public class test3Controller : Controller
    {
        //
        // GET: /Hellow/

        public ActionResult Index()
        {
            return View();
        }


        // GET: /HelloWorld/

        //public string Index()
        //{
        //    return "这是我的<b>默认</b>action...";
        //}
        //
        // GET: /HelloWorld/Welcome/
        public string WelCome1()
        {
            return "这是我的Welcome方法...";
        }

        public ActionResult WelCome(string name)
        {
            //return "这是我的Welcome方法...";
            ViewBag.message = name;
            return View();
        }

        public ActionResult zr() {
            ViewBag.name = "zr";
            return View();
        }

        public string  zr1(int id)
        {
            string message = "count," + id;
            return message;
        }

    }
}
